<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Citi.Scheduler.Domain" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Citi.Scheduler.Domain" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="RoutineExecutionStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Scheduled" />
      <xs:enumeration value="Error" />
      <xs:enumeration value="InProgress" />
      <xs:enumeration value="Executed" />
      <xs:enumeration value="ExecutedWithError" />
      <xs:enumeration value="WaitingFreeMachine" />
      <xs:enumeration value="WaitingPredecessorRoutine" />
      <xs:enumeration value="PredecessorRoutineWithError" />
      <xs:enumeration value="PredecessorNotScheduled" />
      <xs:enumeration value="Canceled" />
      <xs:enumeration value="WaitingSpecificFreeMachine" />
      <xs:enumeration value="CanceledAfterWaiting" />
      <xs:enumeration value="Stopped" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="RoutineExecutionStatus" nillable="true" type="tns:RoutineExecutionStatus" />
</xs:schema>